<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<title>{yun:}$title{/yun}</title>
		<meta name="keywords" content="{yun:}$keywords{/yun},wap" />
		<meta name="description" content="{yun:}$description{/yun}" />
		<meta name="renderer" content="webkit" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<link rel="stylesheet" href="{yun:}$wap_style{/yun}/chat/css/chat.css?v={yun:}$config.cachecode{/yun}">
	</head>
	<body>
		<!--头部-->
		<div id="chat_header" class="chat_header">
			<div class="chat_header_fix">
				<div class="chat_header_top">
					<span class="chat_header_fh" onclick="back()"></span>
					<div class="chat_header_username">{yun:}$receive.linkman{/yun}</div>
					<div class="chat_header_comname">{yun:}$receive.identity{/yun}</div>
                   
				</div>
				<div class="chat_header_opt">
					<ul>
						{yun:}if $receive.usertype == 1{/yun}
							{yun:}if $inviteNum > 0{/yun}
								<li><span><i class="chat_header_opt_ms"></i> 已邀请 </span></li>
							{yun:}else{/yun}
								<li id="invite"><span><i class="chat_header_opt_ms"></i> 面试TA </span></li>
							{yun:}/if{/yun}
						{yun:}else{/yun}
						<li id="sendExpcet"><span><i class="chat_header_opt_resume"></i> 发简历 </span></li>
						{yun:}/if{/yun}
                        <li id="sendJob"  class="chat_header_opt_cz"><span><i class="chat_header_opt_job"></i> 选职位 </span></li>
						{yun:}if $receive.usertype == 1{/yun}
                        <li id="lookresume" class="chat_header_opt_cz"><span><i class="chat_header_opt_yl"></i>查看简历</span></li>
						{yun:}else{/yun}
                        <li id="toCompany" class="chat_header_opt_cz"><span><i class="chat_header_opt_zy"></i>企业主页</span></li>
						{yun:}/if{/yun}
						<li id="nochat" class="chat_header_opt_cz"><span><i class="chat_header_opt_xq"></i>不感兴趣</span></li>
					</ul>
				</div>
			</div>
		</div>
		<div id="chat_content" class="chat_content">
			<!--div class="chat_timetip">以下是30天内的聊天记录</div-->
			<ul>
			</ul>
        </div>
		<!--footer-->
		<div class="chat_footer_box">
			<div class="chat_footer">
				<div class="chat_footer_cont">
					<input id="send_content" type="text" value="" placeholder="在这里输入文字" oninput="checkSend()" class="chat_footer_text">
					<span id="more" class="chat_footer_tj">
						<iframe id="chat_iframe" name="chat_iframe" class="chat_iframe"></iframe>
						<form id="imgform" target="chat_iframe" method="post"  enctype="multipart/form-data" action="index.php?c=chat&a=uploadImage">
							<input type="file" name="file" accept="image/*" onchange="upImage(this)" class="chat_footer_tj_img">
						</form>
					</span>
					<span id="send" class="chat_footer_send none">发送</span>
				</div>
                <div id="commonly" class="chat_footer_commonly none">
					
				</div>
			</div>
		</div>
		<!--弹出职位-->
		<div id="joblist" class="none">
			<div id="bg" style="display:block"></div>
			<div class="chatjob_box">
				<div class="chatjob_box_tit"><span class="chatjob_box_tit_name">选职位</span><span id="closeJob" class="chatjob_box_tit_close"></span></div>
				<div class="chatjob_box_c">
					<div id="chatjob_list" class="chatjob_box_job"></div>
				</div>
			</div>
		</div>
		<script>
			var socket = null,
				socketUrl = "{yun:}$config.sy_chat_weburl{/yun}",
				wapurl = "{yun:}url m=wap{/yun}",
				weburl = "{yun:}$config.sy_weburl{/yun}",
				jid = '{yun:}$smarty.get.jid{/yun}',
				eid = '{yun:}$smarty.get.eid{/yun}',
				toid = '{yun:}$receive.id{/yun}',
				totype = '{yun:}$receive.usertype{/yun}',
				inviteid = '{yun:}$smarty.get.invite{/yun}',
				chat_single = true,
				scrollHeight = 0;
				mine = null,
				joblist = null,
				expect = null,
				company = null,
				jobShowed = true;
				sendTime = 0,
				pastSend = 0,
				MAX_ITEM = 20,
				page = 1,
				chat_name = '{yun:}$config.sy_chat_name{/yun}';
		</script>
		<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
		<script src="{yun:}$wap_style{/yun}/js/layer/layer.m.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
		<script src="{yun:}$wap_style{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
		<script src="{yun:}$wap_style{/yun}/chat/yunliao/socket.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
	</body>
</html>
